Skip to content

Instantly share code, notes, and snippets.

@rohitg00
rohitg00 / llm-wiki.md
Last active May 19, 2026 04:40 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 10K Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

Currently, Working on AKBP: Agent Knowledge Base Protocol based on my findings, a protocol for creating, updating, retrieving, and sharing durable knowledge across AI agents.

What the original gets right

@jinjier
jinjier / javdb-top250.md
Last active May 19, 2026 04:40
JavDB top 250 movies list. [Updated on 2026/01]
@ocombe
ocombe / README.md
Last active May 19, 2026 04:39
ChatGPT Conversation Exporter — export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON — Raw conversation data from the API
  • Markdown — Clean text with headers per message, relative links to downloaded files
  • HTML — ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
@thisAdo
thisAdo / ytdl.js
Last active May 19, 2026 04:37
YouTube Download MP3/MP4
// © Ado | 2026
// YouTube Download MP4/MP3
const url = ""; // Aquí la URL del video a descargar!
const type = ""; // video | audio
const quality = ""; // video: 1080p | 720p | 480p | 360p | 240p | 144p | audio: 48k | 128k | mp3
async function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
@Kyriakos-Georgiopoulos
Kyriakos-Georgiopoulos / lerp-in-compose.md
Created August 29, 2025 12:16
Lerp in Jetpack Compose

Lerp in Jetpack Compose: The Tiny Function Behind Smooth Animations

What is lerp?

Linear interpolation. Given a start, an end, and a fraction t ∈ [0,1], lerp returns a value in between:

lerp(a, b, t) = a + (b - a) * t

  • t = 0 ➜ start
  • t = 1 ➜ end

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@Alex4386
Alex4386 / remove-k-backdoor.sh
Last active May 19, 2026 04:32
Remove Korean "Backdoors" from your macOS
#!/bin/bash
echo K-Backdoor Remover
echo by Alex4386
if [ -d "/Applications/AhnLab/ASTx" ]; then
echo Remove AhnLab unSafe Transaction:
cd /Applications/AhnLab/ASTx/
open Uninstaller.app
fi
@yufengwng
yufengwng / arch_cheatsheet.txt
Last active May 19, 2026 04:30
Arch Linux Commands Cheatsheet
pacman
======
view logs: /var/log/pacman.log
update system
# pacman -Syu
list installed packages
# pacman -Q
@claytonchew
claytonchew / .zshrc
Last active May 19, 2026 04:28
natural language to bash command with opencode (using free model)
pls() {
local input escaped output command
printf -v input '%s ' "$@"
escaped=$(printf '%q ' "$@")
output=$(
opencode run \
--title "to-bash: ${escaped}" \
--agent subagent \